package com.handpay.zztong.hp.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 广发首页广告条
 * @author fyang
 *
 */
public class Banner implements Parcelable {
    public String contentUrl;//点击图片之后即将跳转的url
    public String coverUrl;//要显示图片的url,根据url去读取图片
   
	public Banner() {
		super();
	}
	public Banner(String contentUrl, String coverUrl) {
		super();
		this.contentUrl = contentUrl;
		this.coverUrl = coverUrl;
	}
	public String getContentUrl() {
		return contentUrl;
	}
	public void setContentUrl(String contentUrl) {
		this.contentUrl = contentUrl;
	}
	public String getCoverUrl() {
		return coverUrl;
	}
	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}
	@Override
	public String toString() {
		return "Banner [contentUrl=" + contentUrl + ", coverUrl=" + coverUrl
				+ "]";
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(this.contentUrl);
		dest.writeString(this.coverUrl);
	}

	protected Banner(Parcel in) {
		this.contentUrl = in.readString();
		this.coverUrl = in.readString();
	}

}
